#pragma once
#ifndef CSTATUS_H
#define CSTATUS_H
#include "yaml-cpp/yaml.h"
#include "src/Lib/MessageFormat.h"

class CStatus{
	private:
		bool _show_status;
		std::string _current_position;
		int _event;
		std::vector<std::string> _history_position;
	public:
		void Init(int event){
			_show_status=false;
			_history_position.clear();
			_event=event;
		}

		void Set_Show_Status(bool status){
			_show_status=status;
		}

		void Set_Current_Position(std::string position){
			_current_position=position;
			_history_position.push_back(position);
		};

		std::string Get_Current_Position(){
			return(_current_position);
		}

		void Print_History_Position();
};


std::ostream & operator<< (std::ostream & ostr, CStatus str);
#endif
